function open_paymain(){
	u_hideAllSections();
	u_safeShowElement('paymain_div');
	//init_pomaintab();
	assignPayToMain();
	
	if(!isNavigationFromBackButton){
	var functionPointerObj = new Object();
	functionPointerObj.functionName = "open_paymain()";
	navigationStateArray.push(functionPointerObj);
	}
}


function assignPayToMain(){
	if(pmtr_yui_table_instance != null && pmts_yui_table_instance != null ){
		pmts_yui_table_instance.showColumn("selectThis"); 
		pmtr_yui_table_instance.showColumn("selectThis");
		YAHOO.util.Dom.insertAfter ( "pmtrecieved_div" , "payment_rec_yui_placeholder2") ;
		YAHOO.util.Dom.insertAfter ( "pmtsent_div" , "payment_sent_yui_placeholder2") ;
	}
}

function assignPayToDashBoard(){
	if(pmtr_yui_table_instance != null && pmts_yui_table_instance != null ){
		pmts_yui_table_instance.hideColumn("selectThis"); 
		pmtr_yui_table_instance.hideColumn("selectThis");
		YAHOO.util.Dom.insertAfter ( "pmtrecieved_div" , "payment_rec_yui_placeholder1") ;
		YAHOO.util.Dom.insertAfter ( "pmtsent_div" , "payment_sent_yui_placeholder1") ;
	}
}